package com.example.springboot.controller;


import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

@Controller
@RequestMapping("/page")
public class PageInfoController {

    @RequestMapping("/index")
    public String toIndex() {
        return "index";
    }

    @RequestMapping("/toLogin")
    public String toLogin() {
        return "login";
    }

    @RequestMapping("/toRegister")
    public String toRegister() {
        return "register";
    }

    @RequestMapping("/toMenu")
    public String toMenu() {
        return "menu";
    }

    @RequestMapping("/toLove")
    public String toLove() {
        return "love";
    }

    @RequestMapping("/toDevelopment")
    public String toDevelopment() {
        return "devlopment";
    }

    @RequestMapping("/toAdmin")
    public String toAdmin() {
        return "admin";
    }


}
